home *** CD-ROM | disk | FTP | other *** search
/ NetObjects Fusion 7 / Fusion7.iso / NetObjects Fusion / data1.cab / Language_Resource_-_English / Components / DynaButtons / DynaButtons.jar / DynaButtonsComp / ButtonObject.class (.txt) next >
Encoding:
Java Class File  |  2000-10-30  |  2.1 KB  |  88 lines

  1. package DynaButtonsComp;
  2.  
  3. import java.io.Serializable;
  4.  
  5. public class ButtonObject implements Serializable {
  6.    private ButtonObject next = null;
  7.    private ButtonObject subButton;
  8.    private String text;
  9.    // $FF: renamed from: ID java.lang.String
  10.    private String field_0;
  11.    private String url;
  12.    private String target;
  13.    private boolean subButtonsExist;
  14.  
  15.    public ButtonObject() {
  16.       this.subButton = new ButtonObject(true);
  17.       this.subButton.setNext(new ButtonObject(true));
  18.       this.text = "";
  19.       this.url = "";
  20.       this.field_0 = "0";
  21.       this.subButtonsExist = false;
  22.       this.target = "";
  23.    }
  24.  
  25.    public ButtonObject(boolean foo) {
  26.       this.subButton = null;
  27.       this.text = "";
  28.       this.url = "";
  29.       this.field_0 = "0";
  30.    }
  31.  
  32.    public final String getID() {
  33.       return this.field_0;
  34.    }
  35.  
  36.    public final ButtonObject getNext() {
  37.       return this.next;
  38.    }
  39.  
  40.    public final ButtonObject getSubButtons() {
  41.       return this.subButton;
  42.    }
  43.  
  44.    public final boolean getSubButtonsExist() {
  45.       return this.subButtonsExist;
  46.    }
  47.  
  48.    public String getTarget() {
  49.       return this.target;
  50.    }
  51.  
  52.    public final String getText() {
  53.       return this.text;
  54.    }
  55.  
  56.    public final String getURL() {
  57.       return this.url;
  58.    }
  59.  
  60.    public final void setID(String ID) {
  61.       this.field_0 = ID;
  62.    }
  63.  
  64.    public final void setNext(ButtonObject next) {
  65.       this.next = next;
  66.    }
  67.  
  68.    public final void setSubButtons(ButtonObject subButton) {
  69.       this.subButton = subButton;
  70.    }
  71.  
  72.    public final void setSubButtonsExist(boolean subButtonsExist) {
  73.       this.subButtonsExist = subButtonsExist;
  74.    }
  75.  
  76.    public void setTarget(String theTarget) {
  77.       this.target = theTarget;
  78.    }
  79.  
  80.    public final void setText(String text) {
  81.       this.text = text;
  82.    }
  83.  
  84.    public final void setURL(String url) {
  85.       this.url = url;
  86.    }
  87. }
  88.